<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::GaussianTaskKernel&lt; InputTypeT &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_gaussian_task_kernel.html">GaussianTaskKernel</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_gaussian_task_kernel-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::GaussianTaskKernel&lt; InputTypeT &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a> &raquo; <a class="el" href="group__kernels.html">Kernels</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Special "Gaussian-like" kernel function on tasks.  
 <a href="classshark_1_1_gaussian_task_kernel.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_multi_task_kernel_8h_source.html">shark/Models/Kernels/MultiTaskKernel.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::GaussianTaskKernel&lt; InputTypeT &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_gaussian_task_kernel__inherit__graph.png" border="0" usemap="#ashark_1_1_gaussian_task_kernel_3_01_input_type_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_gaussian_task_kernel_3_01_input_type_t_01_4_inherit__map" id="ashark_1_1_gaussian_task_kernel_3_01_input_type_t_01_4_inherit__map">
<area shape="rect" title="Special &quot;Gaussian&#45;like&quot; kernel function on tasks." alt="" coords="5,79,187,120"/>
<area shape="rect" href="classshark_1_1_discrete_kernel.html" title="Kernel on a finite, discrete space." alt="" coords="22,5,170,31"/>
<area shape="poly" title=" " alt="" coords="99,46,99,79,93,79,93,46"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a39fef0a907da511f9b3e3c362a6417df" id="r_a39fef0a907da511f9b3e3c362a6417df"><td class="memItemLeft" align="right" valign="top">typedef InputTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a39fef0a907da511f9b3e3c362a6417df">InputType</a></td></tr>
<tr class="separator:a39fef0a907da511f9b3e3c362a6417df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74d917dde073cfd8b0e089073191458d" id="r_a74d917dde073cfd8b0e089073191458d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_multi_task_sample.html">MultiTaskSample</a>&lt; <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a39fef0a907da511f9b3e3c362a6417df">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a74d917dde073cfd8b0e089073191458d">MultiTaskSampleType</a></td></tr>
<tr class="separator:a74d917dde073cfd8b0e089073191458d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5efa4d99f65019b7b91fe009d032b8ef" id="r_a5efa4d99f65019b7b91fe009d032b8ef"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a39fef0a907da511f9b3e3c362a6417df">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5efa4d99f65019b7b91fe009d032b8ef">KernelType</a></td></tr>
<tr class="separator:a5efa4d99f65019b7b91fe009d032b8ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_kernel_function"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_kernel_function')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_kernel_function.html">shark::AbstractKernelFunction&lt; std::size_t &gt;</a></td></tr>
<tr class="memitem:af54c80ca837961761506e6c2eec15bde inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_af54c80ca837961761506e6c2eec15bde"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">Feature</a> </td></tr>
<tr class="memdesc:af54c80ca837961761506e6c2eec15bde"><td class="mdescLeft">&#160;</td><td class="mdescRight">enumerations of kerneland metric features (flags)  <a href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">More...</a><br /></td></tr>
<tr class="separator:af54c80ca837961761506e6c2eec15bde inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a808acb34b9c95c6af0f48177d554bd59 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a808acb34b9c95c6af0f48177d554bd59"><td class="memItemLeft" align="right" valign="top">typedef base_type::InputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a></td></tr>
<tr class="memdesc:a808acb34b9c95c6af0f48177d554bd59 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input type of the Kernel.  <br /></td></tr>
<tr class="separator:a808acb34b9c95c6af0f48177d554bd59 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf700c2ece7236c70cef4b88777a733 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_adbf700c2ece7236c70cef4b88777a733"><td class="memItemLeft" align="right" valign="top">typedef base_type::BatchInputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#adbf700c2ece7236c70cef4b88777a733">BatchInputType</a></td></tr>
<tr class="memdesc:adbf700c2ece7236c70cef4b88777a733 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">batch input type of the kernel  <br /></td></tr>
<tr class="separator:adbf700c2ece7236c70cef4b88777a733 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40e365cb5ec7d2776105a4aef4e78df3 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a40e365cb5ec7d2776105a4aef4e78df3"><td class="memItemLeft" align="right" valign="top">typedef base_type::ConstInputReference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a></td></tr>
<tr class="memdesc:a40e365cb5ec7d2776105a4aef4e78df3 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to InputType.  <br /></td></tr>
<tr class="separator:a40e365cb5ec7d2776105a4aef4e78df3 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af923f26f3d015156bb5ac159b302311b inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_af923f26f3d015156bb5ac159b302311b"><td class="memItemLeft" align="right" valign="top">typedef base_type::ConstBatchInputReference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a></td></tr>
<tr class="memdesc:af923f26f3d015156bb5ac159b302311b inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to BatchInputType.  <br /></td></tr>
<tr class="separator:af923f26f3d015156bb5ac159b302311b inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63fdfe8b374750b9fa8288e06a666919 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a63fdfe8b374750b9fa8288e06a666919"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a63fdfe8b374750b9fa8288e06a666919">Features</a></td></tr>
<tr class="memdesc:a63fdfe8b374750b9fa8288e06a666919 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">This statement declares the member m_features. See <a class="el" href="_flags_8h.html">Core/Flags.h</a> for details.  <br /></td></tr>
<tr class="separator:a63fdfe8b374750b9fa8288e06a666919 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a619eef1551440a251e305cc6cd88d2f8 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a619eef1551440a251e305cc6cd88d2f8"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a619eef1551440a251e305cc6cd88d2f8">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a619eef1551440a251e305cc6cd88d2f8 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_metric"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_metric')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_metric.html">shark::AbstractMetric&lt; InputTypeT &gt;</a></td></tr>
<tr class="memitem:a8ef376e183e0fac88fc9234204c75569 inherit pub_types_classshark_1_1_abstract_metric" id="r_a8ef376e183e0fac88fc9234204c75569"><td class="memItemLeft" align="right" valign="top">typedef InputTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a8ef376e183e0fac88fc9234204c75569">InputType</a></td></tr>
<tr class="memdesc:a8ef376e183e0fac88fc9234204c75569 inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input type of the Kernel.  <br /></td></tr>
<tr class="separator:a8ef376e183e0fac88fc9234204c75569 inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed2427fcee73de8368e0e24ce61cada inherit pub_types_classshark_1_1_abstract_metric" id="r_a3ed2427fcee73de8368e0e24ce61cada"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; InputTypeT &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a3ed2427fcee73de8368e0e24ce61cada">BatchInputType</a></td></tr>
<tr class="memdesc:a3ed2427fcee73de8368e0e24ce61cada inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">batch input type of the kernel  <br /></td></tr>
<tr class="separator:a3ed2427fcee73de8368e0e24ce61cada inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad56b88ee5dab414cc3fe71ef6a36aa19 inherit pub_types_classshark_1_1_abstract_metric" id="r_ad56b88ee5dab414cc3fe71ef6a36aa19"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_const_proxy_reference.html">ConstProxyReference</a>&lt; InputTypeconst &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a></td></tr>
<tr class="memdesc:ad56b88ee5dab414cc3fe71ef6a36aa19 inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to InputType.  <br /></td></tr>
<tr class="separator:ad56b88ee5dab414cc3fe71ef6a36aa19 inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aded3435936965bcee46366318e37cbc9 inherit pub_types_classshark_1_1_abstract_metric" id="r_aded3435936965bcee46366318e37cbc9"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_const_proxy_reference.html">ConstProxyReference</a>&lt; BatchInputTypeconst &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#aded3435936965bcee46366318e37cbc9">ConstBatchInputReference</a></td></tr>
<tr class="memdesc:aded3435936965bcee46366318e37cbc9 inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to BatchInputType.  <br /></td></tr>
<tr class="separator:aded3435936965bcee46366318e37cbc9 inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad3cb825170b89942732ef99333e90ed3" id="r_ad3cb825170b89942732ef99333e90ed3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#ad3cb825170b89942732ef99333e90ed3">GaussianTaskKernel</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a74d917dde073cfd8b0e089073191458d">MultiTaskSampleType</a> &gt; const &amp;data, std::size_t tasks, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5efa4d99f65019b7b91fe009d032b8ef">KernelType</a> &amp;inputkernel, double <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a72c07dd2a07d2b10033b758f43ba0fb2">gamma</a>)</td></tr>
<tr class="memdesc:ad3cb825170b89942732ef99333e90ed3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construction of a Gaussian kernel on tasks.  <br /></td></tr>
<tr class="separator:ad3cb825170b89942732ef99333e90ed3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcf414a6503122bed82e17c8f242a5eb" id="r_afcf414a6503122bed82e17c8f242a5eb"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#afcf414a6503122bed82e17c8f242a5eb">name</a> () const</td></tr>
<tr class="memdesc:afcf414a6503122bed82e17c8f242a5eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:afcf414a6503122bed82e17c8f242a5eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2b81431e43f111b7ff8d3b6ea9eda58" id="r_aa2b81431e43f111b7ff8d3b6ea9eda58"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#aa2b81431e43f111b7ff8d3b6ea9eda58">parameterVector</a> () const</td></tr>
<tr class="memdesc:aa2b81431e43f111b7ff8d3b6ea9eda58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the parameter vector.  <br /></td></tr>
<tr class="separator:aa2b81431e43f111b7ff8d3b6ea9eda58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2529001b1f43ca4cd17625dc793e6f6a" id="r_a2529001b1f43ca4cd17625dc793e6f6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a2529001b1f43ca4cd17625dc793e6f6a">setParameterVector</a> (RealVector const &amp;newParameters)</td></tr>
<tr class="memdesc:a2529001b1f43ca4cd17625dc793e6f6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the parameter vector.  <br /></td></tr>
<tr class="separator:a2529001b1f43ca4cd17625dc793e6f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d09922eb837683653e3d8db6bffd797" id="r_a9d09922eb837683653e3d8db6bffd797"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a9d09922eb837683653e3d8db6bffd797">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a9d09922eb837683653e3d8db6bffd797"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of parameters.  <br /></td></tr>
<tr class="separator:a9d09922eb837683653e3d8db6bffd797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd73ed4a70e91cc3d8f85c70fac37247" id="r_acd73ed4a70e91cc3d8f85c70fac37247"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#acd73ed4a70e91cc3d8f85c70fac37247">numberOfTasks</a> () const</td></tr>
<tr class="separator:acd73ed4a70e91cc3d8f85c70fac37247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72c07dd2a07d2b10033b758f43ba0fb2" id="r_a72c07dd2a07d2b10033b758f43ba0fb2"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a72c07dd2a07d2b10033b758f43ba0fb2">gamma</a> () const</td></tr>
<tr class="memdesc:a72c07dd2a07d2b10033b758f43ba0fb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kernel bandwidth parameter.  <br /></td></tr>
<tr class="separator:a72c07dd2a07d2b10033b758f43ba0fb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acddb38cbf7f7eb1ddb915020cacd9416" id="r_acddb38cbf7f7eb1ddb915020cacd9416"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#acddb38cbf7f7eb1ddb915020cacd9416">sigma</a> () const</td></tr>
<tr class="memdesc:acddb38cbf7f7eb1ddb915020cacd9416"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kernel width parameter, equivalent to the bandwidth parameter.  <br /></td></tr>
<tr class="separator:acddb38cbf7f7eb1ddb915020cacd9416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fa4e4f015f87d9ec01865c4f9ecbe39" id="r_a4fa4e4f015f87d9ec01865c4f9ecbe39"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a4fa4e4f015f87d9ec01865c4f9ecbe39">setGamma</a> (double <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a72c07dd2a07d2b10033b758f43ba0fb2">gamma</a>)</td></tr>
<tr class="separator:a4fa4e4f015f87d9ec01865c4f9ecbe39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0203577db9bacc51f8e9516419ae8f66" id="r_a0203577db9bacc51f8e9516419ae8f66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a0203577db9bacc51f8e9516419ae8f66">setWidth</a> (double <a class="el" href="classshark_1_1_gaussian_task_kernel.html#acddb38cbf7f7eb1ddb915020cacd9416">sigma</a>)</td></tr>
<tr class="memdesc:a0203577db9bacc51f8e9516419ae8f66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the kernel width (equivalent to setting the bandwidth).  <br /></td></tr>
<tr class="separator:a0203577db9bacc51f8e9516419ae8f66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac89541fe765cdc20608138848b66ac59" id="r_ac89541fe765cdc20608138848b66ac59"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#ac89541fe765cdc20608138848b66ac59">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;ar)</td></tr>
<tr class="memdesc:ac89541fe765cdc20608138848b66ac59"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>.  <br /></td></tr>
<tr class="separator:ac89541fe765cdc20608138848b66ac59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa82b43af690db009d1a2c0f052451f29" id="r_aa82b43af690db009d1a2c0f052451f29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#aa82b43af690db009d1a2c0f052451f29">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;ar) const</td></tr>
<tr class="memdesc:aa82b43af690db009d1a2c0f052451f29"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>.  <br /></td></tr>
<tr class="separator:aa82b43af690db009d1a2c0f052451f29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_discrete_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_discrete_kernel')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_discrete_kernel.html">shark::DiscreteKernel</a></td></tr>
<tr class="memitem:aa25ea901c8d3311c3187f9ac5a4824be inherit pub_methods_classshark_1_1_discrete_kernel" id="r_aa25ea901c8d3311c3187f9ac5a4824be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_discrete_kernel.html#aa25ea901c8d3311c3187f9ac5a4824be">DiscreteKernel</a> (RealMatrix const &amp;matrix)</td></tr>
<tr class="memdesc:aa25ea901c8d3311c3187f9ac5a4824be inherit pub_methods_classshark_1_1_discrete_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construction of the kernel from a positive definite, symmetric matrix.  <br /></td></tr>
<tr class="separator:aa25ea901c8d3311c3187f9ac5a4824be inherit pub_methods_classshark_1_1_discrete_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab36fd3d4ccf16666cb6fe37f4b5e5246 inherit pub_methods_classshark_1_1_discrete_kernel" id="r_ab36fd3d4ccf16666cb6fe37f4b5e5246"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_discrete_kernel.html#ab36fd3d4ccf16666cb6fe37f4b5e5246">size</a> () const</td></tr>
<tr class="memdesc:ab36fd3d4ccf16666cb6fe37f4b5e5246 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cardinality of the discrete space.  <br /></td></tr>
<tr class="separator:ab36fd3d4ccf16666cb6fe37f4b5e5246 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4ad2a25a3846fc24daa142790d15e67 inherit pub_methods_classshark_1_1_discrete_kernel" id="r_ac4ad2a25a3846fc24daa142790d15e67"><td class="memItemLeft" align="right" valign="top">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_discrete_kernel.html#ac4ad2a25a3846fc24daa142790d15e67">createState</a> () const</td></tr>
<tr class="memdesc:ac4ad2a25a3846fc24daa142790d15e67 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">DiscreteKernels don't have a state so they return an <a class="el" href="structshark_1_1_empty_state.html" title="Default State of an Object which does not need a State.">EmptyState</a> object.  <br /></td></tr>
<tr class="separator:ac4ad2a25a3846fc24daa142790d15e67 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b672aa49b9991f3bfda3d9d1d8b0619 inherit pub_methods_classshark_1_1_discrete_kernel" id="r_a1b672aa49b9991f3bfda3d9d1d8b0619"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_discrete_kernel.html#a1b672aa49b9991f3bfda3d9d1d8b0619">eval</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x2) const</td></tr>
<tr class="memdesc:a1b672aa49b9991f3bfda3d9d1d8b0619 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the kernel function.  <br /></td></tr>
<tr class="separator:a1b672aa49b9991f3bfda3d9d1d8b0619 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90793c8b9e5ff4988d58173d43970872 inherit pub_methods_classshark_1_1_discrete_kernel" id="r_a90793c8b9e5ff4988d58173d43970872"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_discrete_kernel.html#a90793c8b9e5ff4988d58173d43970872">eval</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2, RealMatrix &amp;result, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const</td></tr>
<tr class="memdesc:a90793c8b9e5ff4988d58173d43970872 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the kernel function for every point combination of the two batches.  <br /></td></tr>
<tr class="separator:a90793c8b9e5ff4988d58173d43970872 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3df2e3e9828ad02b782546af55ffa49 inherit pub_methods_classshark_1_1_discrete_kernel" id="r_aa3df2e3e9828ad02b782546af55ffa49"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_discrete_kernel.html#aa3df2e3e9828ad02b782546af55ffa49">eval</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2, RealMatrix &amp;result) const</td></tr>
<tr class="memdesc:aa3df2e3e9828ad02b782546af55ffa49 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the kernel function for every point combination of the two batches.  <br /></td></tr>
<tr class="separator:aa3df2e3e9828ad02b782546af55ffa49 inherit pub_methods_classshark_1_1_discrete_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_kernel_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_kernel_function')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_kernel_function.html">shark::AbstractKernelFunction&lt; std::size_t &gt;</a></td></tr>
<tr class="memitem:a81ed7e2e580d7967ba21d82cf8105c4c inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a81ed7e2e580d7967ba21d82cf8105c4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a81ed7e2e580d7967ba21d82cf8105c4c">AbstractKernelFunction</a> ()</td></tr>
<tr class="separator:a81ed7e2e580d7967ba21d82cf8105c4c inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad813e7a91adf505e31224fba2e0ee8d1 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_ad813e7a91adf505e31224fba2e0ee8d1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_kernel_function.html#a63fdfe8b374750b9fa8288e06a666919">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#ad813e7a91adf505e31224fba2e0ee8d1">features</a> () const</td></tr>
<tr class="separator:ad813e7a91adf505e31224fba2e0ee8d1 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e65f245e63e075562917986673b99af inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a6e65f245e63e075562917986673b99af"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a6e65f245e63e075562917986673b99af">updateFeatures</a> ()</td></tr>
<tr class="separator:a6e65f245e63e075562917986673b99af inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c799ac75db64200256ed50d34d2411 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_ac0c799ac75db64200256ed50d34d2411"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#ac0c799ac75db64200256ed50d34d2411">hasFirstParameterDerivative</a> () const</td></tr>
<tr class="separator:ac0c799ac75db64200256ed50d34d2411 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a505ca00275044073f08aae949127a76f inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a505ca00275044073f08aae949127a76f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a505ca00275044073f08aae949127a76f">hasFirstInputDerivative</a> () const</td></tr>
<tr class="separator:a505ca00275044073f08aae949127a76f inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b60def6354aac30a9c2ce5bffa6f9ae inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a3b60def6354aac30a9c2ce5bffa6f9ae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a3b60def6354aac30a9c2ce5bffa6f9ae">isNormalized</a> () const</td></tr>
<tr class="separator:a3b60def6354aac30a9c2ce5bffa6f9ae inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a225fbad3a0efdac21e4422576de2ce4e inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a225fbad3a0efdac21e4422576de2ce4e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a225fbad3a0efdac21e4422576de2ce4e">supportsVariableInputSize</a> () const</td></tr>
<tr class="separator:a225fbad3a0efdac21e4422576de2ce4e inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a187783089e5ee24875e43b8865b1a46e inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a187783089e5ee24875e43b8865b1a46e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a187783089e5ee24875e43b8865b1a46e">operator()</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x2) const</td></tr>
<tr class="memdesc:a187783089e5ee24875e43b8865b1a46e inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience operator which evaluates the kernel function.  <br /></td></tr>
<tr class="separator:a187783089e5ee24875e43b8865b1a46e inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5586ade0c39f0513c8e53ec5f99ed6 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a2d5586ade0c39f0513c8e53ec5f99ed6"><td class="memItemLeft" align="right" valign="top">RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a2d5586ade0c39f0513c8e53ec5f99ed6">operator()</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2) const</td></tr>
<tr class="memdesc:a2d5586ade0c39f0513c8e53ec5f99ed6 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the subset of the KernelGram matrix which is defined by X1(rows) and X2 (columns).  <br /></td></tr>
<tr class="separator:a2d5586ade0c39f0513c8e53ec5f99ed6 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48557b9834bc06ccb4e005ce441904c8 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a48557b9834bc06ccb4e005ce441904c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a48557b9834bc06ccb4e005ce441904c8">weightedParameterDerivative</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2, RealMatrix const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, RealVector &amp;gradient) const</td></tr>
<tr class="memdesc:a48557b9834bc06ccb4e005ce441904c8 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the gradient of the parameters as a weighted sum over the gradient of all elements of the batch.  <br /></td></tr>
<tr class="separator:a48557b9834bc06ccb4e005ce441904c8 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af534a7a45f73baab879c2f0bfb75f00a inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_af534a7a45f73baab879c2f0bfb75f00a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#af534a7a45f73baab879c2f0bfb75f00a">weightedInputDerivative</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2, RealMatrix const &amp;coefficientsX2, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_abstract_kernel_function.html#adbf700c2ece7236c70cef4b88777a733">BatchInputType</a> &amp;gradient) const</td></tr>
<tr class="memdesc:af534a7a45f73baab879c2f0bfb75f00a inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the derivative of the inputs X1 (only x1!).  <br /></td></tr>
<tr class="separator:af534a7a45f73baab879c2f0bfb75f00a inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4526b02196952d7af3bc76633c8bd6b7 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a4526b02196952d7af3bc76633c8bd6b7"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a4526b02196952d7af3bc76633c8bd6b7">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x2) const</td></tr>
<tr class="memdesc:a4526b02196952d7af3bc76633c8bd6b7 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a4526b02196952d7af3bc76633c8bd6b7 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5abde1fffe84a51cb07c2242eef632ef inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a5abde1fffe84a51cb07c2242eef632ef"><td class="memItemLeft" align="right" valign="top">virtual RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a5abde1fffe84a51cb07c2242eef632ef">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2) const</td></tr>
<tr class="memdesc:a5abde1fffe84a51cb07c2242eef632ef inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a5abde1fffe84a51cb07c2242eef632ef inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_metric"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_metric')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_metric.html">shark::AbstractMetric&lt; InputTypeT &gt;</a></td></tr>
<tr class="memitem:aeb00f4cd45e33127a8e0580aa8f1e6f0 inherit pub_methods_classshark_1_1_abstract_metric" id="r_aeb00f4cd45e33127a8e0580aa8f1e6f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#aeb00f4cd45e33127a8e0580aa8f1e6f0">AbstractMetric</a> ()</td></tr>
<tr class="separator:aeb00f4cd45e33127a8e0580aa8f1e6f0 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a137acb940aeb83bc435414651b347db9 inherit pub_methods_classshark_1_1_abstract_metric" id="r_a137acb940aeb83bc435414651b347db9"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a137acb940aeb83bc435414651b347db9">~AbstractMetric</a> ()</td></tr>
<tr class="separator:a137acb940aeb83bc435414651b347db9 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a249ddd25ea56bc592ea2f8386070714d inherit pub_methods_classshark_1_1_abstract_metric" id="r_a249ddd25ea56bc592ea2f8386070714d"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a249ddd25ea56bc592ea2f8386070714d">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x2) const =0</td></tr>
<tr class="memdesc:a249ddd25ea56bc592ea2f8386070714d inherit pub_methods_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a249ddd25ea56bc592ea2f8386070714d inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97235679a7840667faffe78b2ca75692 inherit pub_methods_classshark_1_1_abstract_metric" id="r_a97235679a7840667faffe78b2ca75692"><td class="memItemLeft" align="right" valign="top">virtual RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a97235679a7840667faffe78b2ca75692">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_metric.html#aded3435936965bcee46366318e37cbc9">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_metric.html#aded3435936965bcee46366318e37cbc9">ConstBatchInputReference</a> batchX2) const =0</td></tr>
<tr class="separator:a97235679a7840667faffe78b2ca75692 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7daef46282ceda23dd469bc51afacf14 inherit pub_methods_classshark_1_1_abstract_metric" id="r_a7daef46282ceda23dd469bc51afacf14"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a7daef46282ceda23dd469bc51afacf14">featureDistance</a> (<a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x2) const</td></tr>
<tr class="memdesc:a7daef46282ceda23dd469bc51afacf14 inherit pub_methods_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a7daef46282ceda23dd469bc51afacf14 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aefbd61ad0c2f8c4adb06669bd49a41f1" id="r_aefbd61ad0c2f8c4adb06669bd49a41f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#aefbd61ad0c2f8c4adb06669bd49a41f1">computeMatrix</a> ()</td></tr>
<tr class="memdesc:aefbd61ad0c2f8c4adb06669bd49a41f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the Gram matrix of the task kernel.  <br /></td></tr>
<tr class="separator:aefbd61ad0c2f8c4adb06669bd49a41f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a5e8007b13b2c708f693b06cd48872909" id="r_a5e8007b13b2c708f693b06cd48872909"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a74d917dde073cfd8b0e089073191458d">MultiTaskSampleType</a> &gt; const  &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5e8007b13b2c708f693b06cd48872909">m_data</a></td></tr>
<tr class="memdesc:a5e8007b13b2c708f693b06cd48872909"><td class="mdescLeft">&#160;</td><td class="mdescRight">multi-task data  <br /></td></tr>
<tr class="separator:a5e8007b13b2c708f693b06cd48872909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56ca3c04e44896711e14dbea30325c6a" id="r_a56ca3c04e44896711e14dbea30325c6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5efa4d99f65019b7b91fe009d032b8ef">KernelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a56ca3c04e44896711e14dbea30325c6a">mpe_inputKernel</a></td></tr>
<tr class="memdesc:a56ca3c04e44896711e14dbea30325c6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">kernel on inputs  <br /></td></tr>
<tr class="separator:a56ca3c04e44896711e14dbea30325c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5de378357c9dc154b1eca425849c1f67" id="r_a5de378357c9dc154b1eca425849c1f67"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">m_gamma</a></td></tr>
<tr class="memdesc:a5de378357c9dc154b1eca425849c1f67"><td class="mdescLeft">&#160;</td><td class="mdescRight">bandwidth of the Gaussian task kernel  <br /></td></tr>
<tr class="separator:a5de378357c9dc154b1eca425849c1f67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_discrete_kernel"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_discrete_kernel')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_discrete_kernel.html">shark::DiscreteKernel</a></td></tr>
<tr class="memitem:a587d3fa95d39fcb80e942e3d201755ad inherit pro_attribs_classshark_1_1_discrete_kernel" id="r_a587d3fa95d39fcb80e942e3d201755ad"><td class="memItemLeft" align="right" valign="top">RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_discrete_kernel.html#a587d3fa95d39fcb80e942e3d201755ad">m_matrix</a></td></tr>
<tr class="memdesc:a587d3fa95d39fcb80e942e3d201755ad inherit pro_attribs_classshark_1_1_discrete_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">kernel matrix  <br /></td></tr>
<tr class="separator:a587d3fa95d39fcb80e942e3d201755ad inherit pro_attribs_classshark_1_1_discrete_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_kernel_function"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_kernel_function')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_kernel_function.html">shark::AbstractKernelFunction&lt; std::size_t &gt;</a></td></tr>
<tr class="memitem:aa13e9ab3b8bbad9e1d773468671703e6 inherit pro_attribs_classshark_1_1_abstract_kernel_function" id="r_aa13e9ab3b8bbad9e1d773468671703e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a63fdfe8b374750b9fa8288e06a666919">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#aa13e9ab3b8bbad9e1d773468671703e6">m_features</a></td></tr>
<tr class="separator:aa13e9ab3b8bbad9e1d773468671703e6 inherit pro_attribs_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class InputTypeT&gt;<br />
class shark::GaussianTaskKernel&lt; InputTypeT &gt;</div><p>Special "Gaussian-like" kernel function on tasks. </p>
<dl class="section user"><dt></dt><dd>See<br  />
 Learning Marginal Predictors: Transfer to an Unlabeled Task. G. Blanchard, G. Lee, C. Scott.</dd></dl>
<dl class="section user"><dt></dt><dd>This class computes a Gaussian kernel based on the distance of empirical distributions in feature space induced by yet another kernel. This is useful for multi-task and transfer learning. It reduces the definition of a kernel on tasks to that of a kernel on inputs, plus a single bandwidth parameter for the Gaussian kernel of distributions.</dd></dl>
<dl class="section user"><dt></dt><dd>Given unlabaled data \( x_i, t_i \) where the x-component is an input and the t-component is a task index, the kernel on tasks t and t' is defined as  <p class="formulaDsp">
\[
    k(t, t&#39;) = \exp \left( -\gamma \cdot \left\| \frac{1}{\ell_{t}\ell{t&#39;}} \sum_{i | t_i = t}\sum_{j | t_j = t&#39;} k&#39;(x_i, x_j) \right\|^2 \right)
\]
</p>
 where k' is an arbitrary kernel on inputs. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00129">129</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a39fef0a907da511f9b3e3c362a6417df" name="a39fef0a907da511f9b3e3c362a6417df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39fef0a907da511f9b3e3c362a6417df">&#9670;&#160;</a></span>InputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef InputTypeT <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">::InputType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00134">134</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

</div>
</div>
<a id="a5efa4d99f65019b7b91fe009d032b8ef" name="a5efa4d99f65019b7b91fe009d032b8ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5efa4d99f65019b7b91fe009d032b8ef">&#9670;&#160;</a></span>KernelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt;<a class="el" href="classshark_1_1_gaussian_task_kernel.html#a39fef0a907da511f9b3e3c362a6417df">InputType</a>&gt; <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::KernelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00136">136</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

</div>
</div>
<a id="a74d917dde073cfd8b0e089073191458d" name="a74d917dde073cfd8b0e089073191458d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74d917dde073cfd8b0e089073191458d">&#9670;&#160;</a></span>MultiTaskSampleType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_multi_task_sample.html">MultiTaskSample</a>&lt;<a class="el" href="classshark_1_1_gaussian_task_kernel.html#a39fef0a907da511f9b3e3c362a6417df">InputType</a>&gt; <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::MultiTaskSampleType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00135">135</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad3cb825170b89942732ef99333e90ed3" name="ad3cb825170b89942732ef99333e90ed3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3cb825170b89942732ef99333e90ed3">&#9670;&#160;</a></span>GaussianTaskKernel()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::GaussianTaskKernel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a74d917dde073cfd8b0e089073191458d">MultiTaskSampleType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>tasks</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5efa4d99f65019b7b91fe009d032b8ef">KernelType</a> &amp;&#160;</td>
          <td class="paramname"><em>inputkernel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>gamma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construction of a Gaussian kernel on tasks. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>unlabeled data from multiple tasks </td></tr>
    <tr><td class="paramname">tasks</td><td>number of tasks in the problem </td></tr>
    <tr><td class="paramname">inputkernel</td><td>kernel on inputs based on which task similarity is defined </td></tr>
    <tr><td class="paramname">gamma</td><td>Gaussian bandwidth parameter (also refer to the member functions setGamma and setSigma). </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00144">144</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aefbd61ad0c2f8c4adb06669bd49a41f1">shark::GaussianTaskKernel&lt; InputTypeT &gt;::computeMatrix()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aefbd61ad0c2f8c4adb06669bd49a41f1" name="aefbd61ad0c2f8c4adb06669bd49a41f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefbd61ad0c2f8c4adb06669bd49a41f1">&#9670;&#160;</a></span>computeMatrix()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::computeMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the Gram matrix of the task kernel. </p>
<dl class="section user"><dt></dt><dd>Here is the real meat. This function implements the kernel function defined in<br  />
 Learning Marginal Predictors: Transfer to an Unlabeled Task. G. Blanchard, G. Lee, C. Scott.</dd></dl>
<dl class="section user"><dt></dt><dd>In a first step the function computes the inner products of the task-wise empirical distributions, represented by their mean elements in the kernel-induced feature space. In a second step this information is used for the computation of squared distances between empirical distribution, which allows for the straightforward computation of a Gaussian kernel. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00236">236</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_kernel_function.html#abd10e3815efade90c7f9e2a7cc8bcb6c">shark::AbstractKernelFunction&lt; InputTypeT &gt;::eval()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5e8007b13b2c708f693b06cd48872909">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_data</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>, <a class="el" href="classshark_1_1_discrete_kernel.html#a587d3fa95d39fcb80e942e3d201755ad">shark::DiscreteKernel::m_matrix</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a56ca3c04e44896711e14dbea30325c6a">shark::GaussianTaskKernel&lt; InputTypeT &gt;::mpe_inputKernel</a>, and <a class="el" href="classshark_1_1_gaussian_task_kernel.html#acd73ed4a70e91cc3d8f85c70fac37247">shark::GaussianTaskKernel&lt; InputTypeT &gt;::numberOfTasks()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_gaussian_task_kernel.html#ad3cb825170b89942732ef99333e90ed3">shark::GaussianTaskKernel&lt; InputTypeT &gt;::GaussianTaskKernel()</a>, and <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a2529001b1f43ca4cd17625dc793e6f6a">shark::GaussianTaskKernel&lt; InputTypeT &gt;::setParameterVector()</a>.</p>

</div>
</div>
<a id="a72c07dd2a07d2b10033b758f43ba0fb2" name="a72c07dd2a07d2b10033b758f43ba0fb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72c07dd2a07d2b10033b758f43ba0fb2">&#9670;&#160;</a></span>gamma()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::gamma </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Kernel bandwidth parameter. </p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00179">179</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a4fa4e4f015f87d9ec01865c4f9ecbe39">shark::GaussianTaskKernel&lt; InputTypeT &gt;::setGamma()</a>.</p>

</div>
</div>
<a id="afcf414a6503122bed82e17c8f242a5eb" name="afcf414a6503122bed82e17c8f242a5eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcf414a6503122bed82e17c8f242a5eb">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_discrete_kernel.html#a99d8f36931a15fe479753d000266e76f">shark::DiscreteKernel</a>.</p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00157">157</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

</div>
</div>
<a id="a9d09922eb837683653e3d8db6bffd797" name="a9d09922eb837683653e3d8db6bffd797"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d09922eb837683653e3d8db6bffd797">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_discrete_kernel.html#abb4b5e4d936016260165c55742788fa9">shark::DiscreteKernel</a>.</p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00171">171</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a56ca3c04e44896711e14dbea30325c6a">shark::GaussianTaskKernel&lt; InputTypeT &gt;::mpe_inputKernel</a>, and <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;::numberOfParameters()</a>.</p>

</div>
</div>
<a id="acd73ed4a70e91cc3d8f85c70fac37247" name="acd73ed4a70e91cc3d8f85c70fac37247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd73ed4a70e91cc3d8f85c70fac37247">&#9670;&#160;</a></span>numberOfTasks()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::numberOfTasks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00175">175</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_discrete_kernel.html#ab36fd3d4ccf16666cb6fe37f4b5e5246">shark::DiscreteKernel::size()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aefbd61ad0c2f8c4adb06669bd49a41f1">shark::GaussianTaskKernel&lt; InputTypeT &gt;::computeMatrix()</a>.</p>

</div>
</div>
<a id="aa2b81431e43f111b7ff8d3b6ea9eda58" name="aa2b81431e43f111b7ff8d3b6ea9eda58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2b81431e43f111b7ff8d3b6ea9eda58">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the parameter vector. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_discrete_kernel.html#a7f7a56ec81071ac947ce02df48b0778c">shark::DiscreteKernel</a>.</p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00160">160</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a56ca3c04e44896711e14dbea30325c6a">shark::GaussianTaskKernel&lt; InputTypeT &gt;::mpe_inputKernel</a>, and <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;::parameterVector()</a>.</p>

</div>
</div>
<a id="ac89541fe765cdc20608138848b66ac59" name="ac89541fe765cdc20608138848b66ac59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac89541fe765cdc20608138848b66ac59">&#9670;&#160;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>ar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_discrete_kernel.html#af1eb1494ee1d205dab4f4b276f332de6">shark::DiscreteKernel</a>.</p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00205">205</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>, and <a class="el" href="classshark_1_1_discrete_kernel.html#af1eb1494ee1d205dab4f4b276f332de6">shark::DiscreteKernel::read()</a>.</p>

</div>
</div>
<a id="a4fa4e4f015f87d9ec01865c4f9ecbe39" name="a4fa4e4f015f87d9ec01865c4f9ecbe39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fa4e4f015f87d9ec01865c4f9ecbe39">&#9670;&#160;</a></span>setGamma()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::setGamma </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>gamma</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00189">189</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a72c07dd2a07d2b10033b758f43ba0fb2">shark::GaussianTaskKernel&lt; InputTypeT &gt;::gamma()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="a2529001b1f43ca4cd17625dc793e6f6a" name="a2529001b1f43ca4cd17625dc793e6f6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2529001b1f43ca4cd17625dc793e6f6a">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the parameter vector. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_discrete_kernel.html#ad09132b3f0b52534db0591c4089980cc">shark::DiscreteKernel</a>.</p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00164">164</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aefbd61ad0c2f8c4adb06669bd49a41f1">shark::GaussianTaskKernel&lt; InputTypeT &gt;::computeMatrix()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a56ca3c04e44896711e14dbea30325c6a">shark::GaussianTaskKernel&lt; InputTypeT &gt;::mpe_inputKernel</a>, <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;::numberOfParameters()</a>, and <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;::setParameterVector()</a>.</p>

</div>
</div>
<a id="a0203577db9bacc51f8e9516419ae8f66" name="a0203577db9bacc51f8e9516419ae8f66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0203577db9bacc51f8e9516419ae8f66">&#9670;&#160;</a></span>setWidth()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::setWidth </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sigma</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the kernel width (equivalent to setting the bandwidth). </p>
<p>The bandwidth gamma and the width sigma are connected: \( gamma = 1 / (2 \cdot sigma^2) \). </p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00198">198</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>, <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>, and <a class="el" href="classshark_1_1_gaussian_task_kernel.html#acddb38cbf7f7eb1ddb915020cacd9416">shark::GaussianTaskKernel&lt; InputTypeT &gt;::sigma()</a>.</p>

</div>
</div>
<a id="acddb38cbf7f7eb1ddb915020cacd9416" name="acddb38cbf7f7eb1ddb915020cacd9416"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acddb38cbf7f7eb1ddb915020cacd9416">&#9670;&#160;</a></span>sigma()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::sigma </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Kernel width parameter, equivalent to the bandwidth parameter. </p>
<p>The bandwidth gamma and the width sigma are connected: \( gamma = 1 / (2 \cdot sigma^2) \). </p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00185">185</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a0203577db9bacc51f8e9516419ae8f66">shark::GaussianTaskKernel&lt; InputTypeT &gt;::setWidth()</a>.</p>

</div>
</div>
<a id="aa82b43af690db009d1a2c0f052451f29" name="aa82b43af690db009d1a2c0f052451f29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa82b43af690db009d1a2c0f052451f29">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>ar</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_discrete_kernel.html#aa6ceb9cefe199070f62832348f9c4421">shark::DiscreteKernel</a>.</p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00212">212</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5de378357c9dc154b1eca425849c1f67">shark::GaussianTaskKernel&lt; InputTypeT &gt;::m_gamma</a>, and <a class="el" href="classshark_1_1_discrete_kernel.html#aa6ceb9cefe199070f62832348f9c4421">shark::DiscreteKernel::write()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a5e8007b13b2c708f693b06cd48872909" name="a5e8007b13b2c708f693b06cd48872909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e8007b13b2c708f693b06cd48872909">&#9670;&#160;</a></span>m_data</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_data.html">Data</a>&lt;<a class="el" href="classshark_1_1_gaussian_task_kernel.html#a74d917dde073cfd8b0e089073191458d">MultiTaskSampleType</a> &gt; const&amp; <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::m_data</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>multi-task data </p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00281">281</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aefbd61ad0c2f8c4adb06669bd49a41f1">shark::GaussianTaskKernel&lt; InputTypeT &gt;::computeMatrix()</a>.</p>

</div>
</div>
<a id="a5de378357c9dc154b1eca425849c1f67" name="a5de378357c9dc154b1eca425849c1f67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5de378357c9dc154b1eca425849c1f67">&#9670;&#160;</a></span>m_gamma</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::m_gamma</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>bandwidth of the Gaussian task kernel </p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00283">283</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aefbd61ad0c2f8c4adb06669bd49a41f1">shark::GaussianTaskKernel&lt; InputTypeT &gt;::computeMatrix()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a72c07dd2a07d2b10033b758f43ba0fb2">shark::GaussianTaskKernel&lt; InputTypeT &gt;::gamma()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aa2b81431e43f111b7ff8d3b6ea9eda58">shark::GaussianTaskKernel&lt; InputTypeT &gt;::parameterVector()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#ac89541fe765cdc20608138848b66ac59">shark::GaussianTaskKernel&lt; InputTypeT &gt;::read()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a4fa4e4f015f87d9ec01865c4f9ecbe39">shark::GaussianTaskKernel&lt; InputTypeT &gt;::setGamma()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a2529001b1f43ca4cd17625dc793e6f6a">shark::GaussianTaskKernel&lt; InputTypeT &gt;::setParameterVector()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a0203577db9bacc51f8e9516419ae8f66">shark::GaussianTaskKernel&lt; InputTypeT &gt;::setWidth()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#acddb38cbf7f7eb1ddb915020cacd9416">shark::GaussianTaskKernel&lt; InputTypeT &gt;::sigma()</a>, and <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aa82b43af690db009d1a2c0f052451f29">shark::GaussianTaskKernel&lt; InputTypeT &gt;::write()</a>.</p>

</div>
</div>
<a id="a56ca3c04e44896711e14dbea30325c6a" name="a56ca3c04e44896711e14dbea30325c6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56ca3c04e44896711e14dbea30325c6a">&#9670;&#160;</a></span>mpe_inputKernel</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_gaussian_task_kernel.html#a5efa4d99f65019b7b91fe009d032b8ef">KernelType</a>* <a class="el" href="classshark_1_1_gaussian_task_kernel.html">shark::GaussianTaskKernel</a>&lt; InputTypeT &gt;::mpe_inputKernel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>kernel on inputs </p>

<p class="definition">Definition at line <a class="el" href="_multi_task_kernel_8h_source.html#l00282">282</a> of file <a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aefbd61ad0c2f8c4adb06669bd49a41f1">shark::GaussianTaskKernel&lt; InputTypeT &gt;::computeMatrix()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a9d09922eb837683653e3d8db6bffd797">shark::GaussianTaskKernel&lt; InputTypeT &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_gaussian_task_kernel.html#aa2b81431e43f111b7ff8d3b6ea9eda58">shark::GaussianTaskKernel&lt; InputTypeT &gt;::parameterVector()</a>, and <a class="el" href="classshark_1_1_gaussian_task_kernel.html#a2529001b1f43ca4cd17625dc793e6f6a">shark::GaussianTaskKernel&lt; InputTypeT &gt;::setParameterVector()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/Kernels/<a class="el" href="_multi_task_kernel_8h_source.html">MultiTaskKernel.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
